<tc_include file="Public:header" />
<title>常用地址</title>
</head>
<body ontouchstart>
<div class="container">
	<div class="weui-tab__panel" style="padding-bottom: 130px;">
		<div class="weui-cells">
			<div class="weui-panel__bd">
				  <!--list-->
				<foreach name="list.data.deliverList" item="vo">
					<div class="weui-cell weui-media-box_text">
						<div class="weui-cell__bd">
							<h4 class="weui-media-box__title">{$vo.custName}  {$vo.mobile}</h4>
							<p class="weui-media-box__desc">{$vo.cityName} {$vo.countyName} {$vo.address}</p>
						</div>
						<if condition="$vo['default'] eq 0">
							<div class="weui-cell__ft text-center"><a href="#" class="weui-btn weui-btn_plain-default border-red-btn">编辑</a><p>默认</p></div>
						<else/>
							<div class="weui-cell__ft text-center"><a href="#" class="weui-btn weui-btn_plain-default border-red-btn">编辑</a><p class="text-red">设为默认</p></div>
						</if>
					</div>
				</foreach>
			</div>
		</div>
	</div>
</div>
<!--foot button-->
<div class="weui-footer weui-footer_fixed-bottom" style="background: #f5f9fa;">
	<!--button-->
  <div class="page__bd">
  	  <div class="text-center" style="margin: 10px 0 20px;">
  	  	<a href="{:U('address/add')}" class="weui-btn weui-btn_plain-default add-btn"><i class="icon iconfont icon-add"></i></a>
      <p>添加新地址</p>
    </div>
  </div>
  <!--button end-->   
</div> 
<!--foot button end-->
<script src="__PUBLIC__/home/js/zepto.min.js"></script>
<script src="__PUBLIC__/home/js/weui.min.js"></script>
</body>
</html>
